package com.eeds.model.user.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author Flying
 * @Description
 * @date 14:43 2018-08-24
 **/
@ApiModel("登陆请求参数")
@Data
public class ReqLoginVo {
    @ApiModelProperty(value="用户名")
    @NotBlank(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
